import App from './App'
import { myRequest } from 'util/api.js'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$myRequest = myRequest; //挂在到vue原型上，全局可访问
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
Vue.prototype.$myRequest = myRequest;
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
